<?php
/**
 * 佣金记录模型
 * @author 王勇程 <laughskydragon@qq.com>
 */

namespace app\common\model;

class CommissionRecord extends ModelBase
{
    protected $autoWriteTimestamp = true;
    protected $createTime = 'create_time';
    protected $updateTime = 'update_time';

    protected $type = [
        'id' => 'integer',
        'user_id' => 'integer',
        'from_user_id' => 'integer',
        'order_id' => 'integer',
        'amount' => 'float',
        'status' => 'integer',
        'create_time' => 'integer',
        'update_time' => 'integer',
    ];
}

